package com.sit.pojo;

import org.springframework.stereotype.Component;

@Component
public class Readers {
    private String readId;
    private String readName;
    private String readSex;
    private String readPass;
    private int readTel;
    private String readMail;
    private int rbSum;
    private int rbRead;

    public Readers() {}

    public Readers(String readId, String readName, String readSex, String readPass, int readTel, String readMail, int rbSum, int rbRead) {
        this.readId = readId;
        this.readName = readName;
        this.readSex = readSex;
        this.readPass = readPass;
        this.readTel = readTel;
        this.readMail = readMail;
        this.rbSum = rbSum;
        this.rbRead = rbRead;
    }

    public String getReadId() {
        return readId;
    }
    public void setReadId(String readId) {
        this.readId = readId;
    }
    public String getReadName() {
        return readName;
    }
    public void setReadName(String readName) {
        this.readName = readName;
    }
    public String getReadSex() {
        return readSex;
    }
    public void setReadSex(String readSex) {
        this.readSex = readSex;
    }
    public int getReadTel() {
        return readTel;
    }
    public void setReadTel(int readTel) {
        this.readTel = readTel;
    }
    public int getRbSum() {
        return rbSum;
    }
    public void setRbSum(short rbSum) {
        this.rbSum = rbSum;
    }
    public int getRbRead() {
        return rbRead;
    }
    public void setRbRead(short rbRead) {
        this.rbRead = rbRead;
    }
    public String getReadPass() {return readPass;}
    public void setReadPass(String readPass) { this.readPass = readPass; }
    public String getReadMail() {return readMail;}
    public void setReadMail(String readMail) { this.readMail = readMail; }

    @Override
    public String toString() {
        return "Readers{" +
                "readId='" + readId + '\'' +
                ", readName='" + readName + '\'' +
                ", readSex='" + readSex + '\'' +
                ", readPass='" + readPass + '\'' +
                ", readTel=" + readTel +
                ", readMail='" + readMail + '\'' +
                ", rbSum=" + rbSum +
                ", rbRead=" + rbRead +
                '}';
    }
}
